import request from '@/utils/request'

/**
 * 轮播图
 */
export function getBanner() {
  return request({
    url: '/portal/slides',
    method: 'get'
  })
}
/**
 * 国内展会
 */
export function getTradeshowsInland() {
  return request({
    url: '/portal/tradeshows/inland',
    method: 'get'
  })
}
/**
 * 国外展会
 */
export function getTradeshowsOutland() {
  return request({
    url: '/portal/tradeshows/outland',
    method: 'get'
  })
}
export function getTradeshowsIndustry(param) {
  return request({
    url: '/portal/tradeshows/industry',
    method: 'get',
    param
  })
}
export function getTradeshowsNewest() {
  return request({
    url: '/portal/tradeshows/newest',
    method: 'get'
  })
}
export function getTradeshowsHot() {
  return request({
    url: '/portal/tradeshows/hot',
    method: 'get'
  })
}



export function getCompanyNewest() {
  return request({
    url: '/company/newest',
    method: 'get'
  })
}
export function getCompaniesRecommend() {
  return request({
    url: '/recommend/companies',
    method: 'get'
  })
}
